package org.exez.modules.visitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@ApiModel
@Data
public class FileDocument {
    private String id;
    @ApiModelProperty(value = "主键")
    private String name;
    @ApiModelProperty(value = "文件大小")
    private long size;
    @ApiModelProperty(value = "上传时间")
    private LocalDate uploadDate;
    @ApiModelProperty(value = "文件MD5值")
    private String md5;
    @ApiModelProperty(value = "文件内容")
    private byte[] content;
    @ApiModelProperty(value = "文件类型")
    private String contentType;
    @ApiModelProperty(value = "文件后缀名")
    private String suffix;
    @ApiModelProperty(value = "文件描述")
    private String description;
    @ApiModelProperty(value = "大文件管理GridFS的ID")
    private String gridfsId;

}
